<?php /*a:3:{s:75:"C:\Users\pc306\Desktop\Projects\learn-php\app\index\view\member.index1.html";i:1591618185;s:36:"../app/index/view/public.header.html";i:1591618155;s:36:"../app/index/view/public.footer.html";i:1589786048;}*/ ?>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Admin</title>
    <script type="text/javascript" src="/plug/layui/layui.js"></script>
    <script type="text/javascript" src="/static/script/common.js"></script>
    <script type="text/javascript" src="/static/script/moment.min.js"></script>
    <link rel="stylesheet" type="text/css" href="/plug/awesome/css/font-awesome.css" />
    <link rel="stylesheet" type="text/css" href="/plug/layui/css/layui.css" />
    <link rel="stylesheet" type="text/css" href="/static/css/common.css" />
</head>
<body>

<div class="layui-card">
    <div class="layui-card-body">
        <form class="layui-form layui-form-pane mt8">
            <div class="layui-form-item">
                <label class="layui-form-label" for="code">邀请码</label>
                <div class="layui-input-inline">
                    <input class="layui-input" name="code" id="code" placeholder="请输入邀请码" value="<?php echo $code; ?>"/>
                </div>
                <div class="layui-btn-group">
                    <a class="layui-btn layui-btn-primary" id="search"><i class="fa fa-search fa-fw"></i> 搜索内容</a>
                </div>
            </div>
        </form>
        <table class="layui-table" lay-data="{height: 'full-78', cellMinWidth: 80,url:'<?php echo $controllerPath; ?><?php echo $dataUrl; ?>',page:true,limit:'100',limits:[100,200,300,400],skin:'line',even:'true',id:'table'}" lay-filter="table">
            <thead>
            <tr>
                <th lay-data="{field:'member_code'}"></th>
                <th lay-data="{field:'contacts_count'}"></th>
            </tr>
            </thead>
        </table>
    </div>
</div>
<script type="text/javascript">
    layui.use(["layer", "form", "table", "upload", "element", "laydate"], function () {
        layui.jquery("#search").click(function () {
            location.href = "<?php echo $actionPath; ?>?code=" + layui.jquery("#code").val();
        });
    });
</script>
</body>
</html>

